<?php
  if(isset($msgSuccess)){
     echo "<div class=\"aui-message success\"><span class=\"aui-icon icon-success\"></span>$msgSuccess</div>";
  }
?>
<div>
    <div id="context"></div>
    <div>Please input your <b>username</b> and <b>email</b> that you used for register.</div>
    
    <form action="" method="post" class="aui">
    
		  <fieldset class="form-fields"> 
          	 <div class="field-group">
			        <label for="username">Username <span class="aui-icon icon-required"><span>(required)</span></span></label>
			        <input class="text medium-field" type="text" id="username" name="username" value="<?= set_value('username') ?>">
                    <div class="error"><?= form_error('username') ?></div>
				    <div class="description">Username that you use for registered</div>
 		     </div> 
             <div class="field-group">
			        <label for="username">Email <span class="aui-icon icon-required"><span>(required)</span></span></label>
			        <input class="text medium-field" type="text" id="email" name="email" value="<?= set_value('email') ?>">
                    <div class="error"><?= form_error('email') ?></div>
				    <div class="description">Email that you use for registered</div>
			 </div> 
             <div class="field-group">
              	    <input type="submit" value="Resend Activation Email" class="aui-button aui-button-primary"/>
                    <a href="<?= $this->config->base_url() ?>index.php/login" class="aui-button">Back to Login page</a>
             </div>
          </fieldset>    
        
        
        
    </form>
</div>